import service from "@/utils/request"
// 登录
export const login = (params) => {
    return service({
        method: 'get',
        url: '/v1/login',
        params
    })
}
// 注册
export const registered = (data) => {
    return service({
        method: 'post',
        url: '/v1/register',
        data
    })
}
// 忘记密码
export const find = (data) => {
    return service({
        method: 'put',
        url: '/v1/findPassword',
        data
    })
}
// 获取宠物数据
export const getShopping  = (params) => {
    return service({
        method: 'get',
        url: '/api/v1/getShop',
        params
    })
}